//
//  ImageUtil.h
//  LOU
//
//  Created by iMacOne on 15/11/11.
//  Copyright © 2015年 UNOHACHA. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface ImageUtil : NSObject

+ (UIView *)emptyDataBGView:(NSString *)imageName waringStr:(NSString *)waringStr;

+ (UIImage *)getImageFromURL:(NSString *)fileURL;

#pragma mark 将16进制颜色值转换为UIColor

+ (UIColor*) colorWithRgb:(int)color;

#pragma mark 保持网络图片至本地
//+ (NSString*)saveImageLocal:(NSData*)data;

//对图片尺寸进行压缩--
+ (UIImage*)reduce:(UIImage*)image size:(CGSize)size isAdjust:(BOOL)isAdjust;
// 根据view截图
+ (UIImage*)cutView:(UIView*)view;

// 根据view截图, 指定范围
+ (UIImage*)cutView:(UIView*)view size:(CGSize)size;


@end
